package com.cw.mapper2;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cw.dto.HandworkPrepayinDto;
import com.cw.dto.PatientInfoToDoctorDTO;
import com.cw.dto.ReportReadyDocNameDTO;
import com.cw.dto.VYqBrdjxxCondition;
import com.cw.entity.ThisIiPrepayin;
import com.cw.entity.VRJSZ;
import com.cw.entity.VYqBrdjxx;
import com.cw.request.VYqBrdjxxConditionRequest;
import com.cw.vo.PatientInfoToDoctorVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VYqBrdjxxMapper extends BaseMapper<VYqBrdjxx> {
//    int insert(VYqBrdjxx record);
//
//    int insertSelective(VYqBrdjxx record);

    /**
     * 院前准备列表
     * @param condition 查询条件
     * @return com.github.pagehelper.PageInfo<com.cw.entity.VYqBrdjxx>
     * @author ly
     * @since 2021-08-18 11:02
     */
    List<VYqBrdjxx> getVYqBrdjxxs(VYqBrdjxxCondition condition);

    List<VRJSZ> getVYqBrdjxxsRJSS(VYqBrdjxxCondition condition);

    /**
     * 获取院前准备的详情
     * @param preid iiprepayin表的主键
     * @return com.cw.entity.VYqBrdjxx
     */
    VYqBrdjxx getVYqBrdjxx(Integer preid);

    /**
     * 获取日间病房的详情
     * @param preid iiprepayin表的主键
     * @return com.cw.entity.VYqBrdjxx
     */
    VYqBrdjxx getRJSSVYqBrdjxx(Integer preid);


    /**
     * 院前准备人数统计  已登记/未登记
     * @author xnd
     * 2021 09/29
     */

    List<VYqBrdjxx> getYqYuYueAllPeople(VYqBrdjxxCondition condition);
    /**
     * 院前准备报表列表
     * @return com.cw.dto.ReportReadyDocNameDTO
     */
    List<ReportReadyDocNameDTO> getReportList(VYqBrdjxxConditionRequest deptCodeList);

    List<ReportReadyDocNameDTO> getRJSSReportList(VYqBrdjxxConditionRequest deptCodeList);


    /**
     * 根据医生工号，获取对应开单医生下的预约患者信息
     * @param requestInfo
     * @return
     */

    List<PatientInfoToDoctorVO> getParentInfoList(PatientInfoToDoctorDTO requestInfo);

//    List<ThisIiPrepayin> getHandworkPrepayin(HandworkPrepayinDto handworkPrepayinDto);
//
//    List<ThisIiPrepayin> getDoctorNameByCode(@Param("list") List<String> operCodeList);
}